package com.restaurant.application.goodscategory.support;

import com.nebutown.supporthome.AbstractImpl;
import com.restaurant.application.goodscategory.GoodsCategory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public abstract class AbstractGoodsCategory extends AbstractImpl implements GoodsCategory {

    private static final Logger logger = LoggerFactory.getLogger(GoodsCategory.class);

    public final Class<?> getEffectiveInterface() {
        return GoodsCategory.class;
    }

    public Logger getLogger() {
        return logger;

    }

    private static final String privateDataType = "CategoryData";

    public CategoryData getData() {
        return escort.getData(CategoryData.class);
    }

    public void setData(CategoryData data) {
        escort.setData(data);
    }
}
